package one.stand.fallback;

import one.stand.feign.CrmFegin;
import one.stand.model.ResultModel;
import one.stand.request.*;
import one.stand.request.live.AttentionUserFrom;
import one.stand.request.live.LiveRequest;
import one.stand.request.live.ShortVideoDataForm;
import one.stand.request.live.ShortVideoQuery;
import one.stand.response.AssembleResponse;
import one.stand.response.CompanyResponse;
import one.stand.response.NoticeResponse;
import one.stand.response.live.LiveResponse;
import one.stand.response.live.ShortVideoResponse;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author Administrator
 */
@Component
public class CrmFallBack implements CrmFegin {

    @Override
    public ResultModel<CompanyResponse> getCompanyId(CompanyRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel getWxTwoCode(BusinessCardRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<Long> verifyExpired(BusinessCardRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel getCardPoster(BusinessCardRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<List<NoticeResponse>> selectEffectiveList(NoticeRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<AssembleResponse> getGoodsAssembleInfo(AssembleRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<Integer> addShareRecord(CreateShareRecordRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<Boolean> addOpenShareCount(AddShareCountRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel getDynamicPoster(ShareRecordRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<Boolean> addAttentionUser(AttentionUserFrom request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel queryShortVideoByList(ShortVideoQuery request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<Boolean> updateData(ShortVideoDataForm request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<ShortVideoResponse> queryById(ShortVideoQuery request) {
            return ResultModel.faultTolerant();
    }


}
